import { action } from "mobx-miniprogram"
import {BehaviorWithStore} from "mobx-miniprogram-bindings"
import {userStore} from "../../stores/userstore"

export const userBehavior = BehaviorWithStore({
  storeBindings: {
    store: userStore,
    fields: ["userInfo"],
    actions: ["setUserInfo"]
  }
})

